package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-接口-mtnevth接口对象 element_port_mtn_evth
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementPortMtnEvth extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 网元id
     */
    @Excel(name = "网元id")
    private String elementId;

    /**
     * 网元
     */
    @Excel(name = "mtn业务主键")
    private String mtnChannelId;

    /**
     * 端口
     */
    @Excel(name = "端口")
    private String terminalName;

    /**
     * 端口模式
     */
    @Excel(name = "端口模式")
    private String terminalMode;

    /**
     * 端口标注
     */
    @Excel(name = "端口标注")
    private String terminalLabel;

    /**
     * 带宽(Mbps)
     */
    @Excel(name = "带宽(Mbps)")
    private String mbps;

    /**
     * MPLS使能
     */
    @Excel(name = "MPLS使能")
    private String mplsEnable;

    /**
     * MAC地址
     */
    @Excel(name = "MAC地址")
    private String mac;

    /**
     * 最大帧长度(bytes)
     */
    @Excel(name = "最大帧长度(bytes)")
    private String maxFrameLen;

    /**
     * 主用IPV4地址
     */
    @Excel(name = "主用IPV4地址")
    private String ip;

    @Excel(name = "主用IPV4地址掩码")
    private String mask;

    @Excel(name = "主用IPV4指定形式")
    private String ipForm;

    /**
     * 用户终结模式
     */
    @Excel(name = "用户终结模式")
    private String userEndMode;

    /**
     * 条目状态（0未激活 1已激活）
     */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /**
     * 删除标记（0正常 2删除）
     */
    private String delFlag;
    //端口id
    private String portId;


    public String getPortId() {
        return portId;
    }

    public void setPortId(String portId) {
        this.portId = portId;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public String getElementId() {
        return elementId;
    }

    public String getMtnChannelId() {
        return mtnChannelId;
    }

    public void setMtnChannelId(String mtnChannelId) {
        this.mtnChannelId = mtnChannelId;
    }

    public void setTerminalName(String terminalName) {
        this.terminalName = terminalName;
    }

    public String getTerminalName() {
        return terminalName;
    }

    public void setTerminalMode(String terminalMode) {
        this.terminalMode = terminalMode;
    }

    public String getTerminalMode() {
        return terminalMode;
    }

    public void setTerminalLabel(String terminalLabel) {
        this.terminalLabel = terminalLabel;
    }

    public String getTerminalLabel() {
        return terminalLabel;
    }

    public void setMbps(String mbps) {
        this.mbps = mbps;
    }

    public String getMbps() {
        return mbps;
    }

    public void setMplsEnable(String mplsEnable) {
        this.mplsEnable = mplsEnable;
    }

    public String getMplsEnable() {
        return mplsEnable;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getMac() {
        return mac;
    }

    public void setMaxFrameLen(String maxFrameLen) {
        this.maxFrameLen = maxFrameLen;
    }

    public String getMaxFrameLen() {
        return maxFrameLen;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setUserEndMode(String userEndMode) {
        this.userEndMode = userEndMode;
    }

    public String getUserEndMode() {
        return userEndMode;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask;
    }

    public String getIpForm() {
        return ipForm;
    }

    public void setIpForm(String ipForm) {
        this.ipForm = ipForm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("elementId", getElementId())
                .append("terminalName", getTerminalName())
                .append("terminalMode", getTerminalMode())
                .append("terminalLabel", getTerminalLabel())
                .append("mbps", getMbps())
                .append("mplsEnable", getMplsEnable())
                .append("mac", getMac())
                .append("maxFrameLen", getMaxFrameLen())
                .append("ip", getIp())
                .append("mask", getMask())
                .append("ipForm", getIpForm())
                .append("userEndMode", getUserEndMode())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}